package com.wiken.orderservice.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.orderservice.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wiken.orderservice.vo.OrderAndCommmodityVO;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface OrderMapper extends BaseMapper<Order> {

    Page<OrderAndCommmodityVO> getOrderOfPayed(String userId, Page page);

    Page<OrderAndCommmodityVO> getOrderOfPay(String userId, Page page);

    Page<OrderAndCommmodityVO> getOrderOfExpire(String userId, Page page);
}
